package com.jinzhi.jzweb.service;

import com.jinzhi.common.utils.ApiResult;
import com.jinzhi.common.utils.Result;
import com.jinzhi.jzweb.domain.JazShippingAddressDO;
import com.jinzhi.common.base.CoreService;

/**
 * 
 * <pre>
 * 用户收货地址表
 * </pre>
 * <small> 2024-05-13 16:49:56 | Long</small>
 */
public interface JazShippingAddressService extends CoreService<JazShippingAddressDO> {

    public Result<?> saveIntegralUserShippingAddress(String receivingName, String phone, String province, String city, String district, String address);

    public Result<?> selectByAddress(String current, String size);

    public Result<?> selectByIsDefaultAddress(String userId);

    Result<?> setIsDefault(String addressId, String userId);

    Result<?> delAddress(String addressId);

    Result<?> updateAddress(String addressId, String receivingName, String phone, String province, String city,
                            String district, String address);
    
}
